const express = require('express');
const router = express.Router();
const certificateRoutes = require('./certificate');
const adminRoutes = require('./admin');
const authRoutes = require('./auth');
const fieldRoutes = require('./field');
const importExportRoutes = require('./importExport');

// 证书相关路由
router.use('/certificates', certificateRoutes);

// 管理员相关路由
router.use('/admin', adminRoutes);

// 认证相关路由
router.use('/auth', authRoutes);

// 字段相关路由
router.use('/fields', fieldRoutes);

// 数据管理相关路由
router.use('/data', importExportRoutes);

module.exports = router; 